\hypertarget{class_network_1_1_behavior_handler}{\section{Network\-:\-:Behavior\-Handler$<$ Request\-Message, Response\-Message $>$ Class Template Reference}
\label{class_network_1_1_behavior_handler}\index{Network\-::\-Behavior\-Handler$<$ Request\-Message, Response\-Message $>$@{Network\-::\-Behavior\-Handler$<$ Request\-Message, Response\-Message $>$}}
}


Interface for the client/server behavior implementation Messages model must be specified.  




{\ttfamily \#include $<$Behavior\-Handler.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_network_1_1_behavior_handler_a7806cf407f33816529275106eeb773d4}{Handle\-Response} (Response\-Message \&response, Request\-Message \&request, void $\ast$args)=0
\begin{DoxyCompactList}\small\item\em Create a request message (boost\-::shared\-\_\-pointer) \end{DoxyCompactList}\item 
\hypertarget{class_network_1_1_behavior_handler_a3e2a2de0ca3d5f4e9d5adb1d1ba8436e}{virtual void \hyperlink{class_network_1_1_behavior_handler_a3e2a2de0ca3d5f4e9d5adb1d1ba8436e}{Handle\-Request} (Response\-Message \&response, Request\-Message \&request, void $\ast$args)=0}\label{class_network_1_1_behavior_handler_a3e2a2de0ca3d5f4e9d5adb1d1ba8436e}

\begin{DoxyCompactList}\small\item\em Routine for incoming request message handling. \end{DoxyCompactList}\item 
\hypertarget{class_network_1_1_behavior_handler_a139e76c0fdffecadf0a0edc782cbb7ea}{virtual void \hyperlink{class_network_1_1_behavior_handler_a139e76c0fdffecadf0a0edc782cbb7ea}{Set\-Kill\-Switch} (bool is\-Kill)=0}\label{class_network_1_1_behavior_handler_a139e76c0fdffecadf0a0edc782cbb7ea}

\begin{DoxyCompactList}\small\item\em Set/\-Unset the handler's mode (passive/active) \end{DoxyCompactList}\item 
\hypertarget{class_network_1_1_behavior_handler_a88a428ba3782b7ba060f098e24652d45}{virtual bool \hyperlink{class_network_1_1_behavior_handler_a88a428ba3782b7ba060f098e24652d45}{Get\-Kill\-Switch} ()=0}\label{class_network_1_1_behavior_handler_a88a428ba3782b7ba060f098e24652d45}

\begin{DoxyCompactList}\small\item\em Retrieve the handler mode. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Request\-Message, class Response\-Message$>$class Network\-::\-Behavior\-Handler$<$ Request\-Message, Response\-Message $>$}

Interface for the client/server behavior implementation Messages model must be specified. 

\subsection{Member Function Documentation}
\hypertarget{class_network_1_1_behavior_handler_a7806cf407f33816529275106eeb773d4}{\index{Network\-::\-Behavior\-Handler@{Network\-::\-Behavior\-Handler}!Handle\-Response@{Handle\-Response}}
\index{Handle\-Response@{Handle\-Response}!Network::BehaviorHandler@{Network\-::\-Behavior\-Handler}}
\subsubsection[{Handle\-Response}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Request\-Message, class Response\-Message$>$ virtual void {\bf Network\-::\-Behavior\-Handler}$<$ Request\-Message, Response\-Message $>$\-::Handle\-Response (
\begin{DoxyParamCaption}
\item[{Response\-Message \&}]{response, }
\item[{Request\-Message \&}]{request, }
\item[{void $\ast$}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_network_1_1_behavior_handler_a7806cf407f33816529275106eeb773d4}


Create a request message (boost\-::shared\-\_\-pointer) 

Create a response message (boost\-::shared\-\_\-pointer)

\begin{DoxyVerb}               Routine for incoming response message handling\end{DoxyVerb}
 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
gremlins\-\_\-static/\hyperlink{_behavior_handler_8h}{Behavior\-Handler.\-h}\end{DoxyCompactItemize}
